package com.zwb.demo.easyweb.core.exception;

import com.zwb.demo.easyweb.common.entity.response.ResultCode;

/**
 * 异常捕捉
 *
 * @author zwb
 */
public class ExceptionCast {
    public static void cast(ResultCode resultCode) {
        throw new CustomException(resultCode);
    }
}
